//引入pinia
import { createPinia } from 'pinia'
//引入持久化插件
import persis from 'pinia-plugin-persistedstate'

//创建pinia实例
const pinia = createPinia()


//注册持久化插件
pinia.use(persis)

//导出pinia
export default pinia

//对modules统一导出pinia
export * from './modules/user.js'
export * from './modules/system.js'
export * from './modules/language.js'
